From f34a4d8dccc817707597edfbcc50071a36112099 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 7 Apr 1993 20:14:29 +0000 Subject: [PATCH] (compilation-error-regexp-alist): Tighten first regexp so that it requires a colon or open-paren before the line number, not just whitespace. --- lisp/progmodes/compile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 30697318ebc..bf860e6c38f 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -108,7 +108,7 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") ;; We'll insist that the number be followed by a colon or closing ;; paren, because otherwise this matches just about anything ;; containing a number with spaces around it. - ("^\\([^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2) + ("^\\([^:( \t\n]+\\)[ \t]*[:(][ \t]*\\([0-9]+\\)[:) \t]" 1 2) ;; 4.3BSD lint pass 2 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) -- 2.30.2